<%@page import="java.util.List"%>
<html>
    <%@page import="model.doctor"%>
    <%@page import="model.student"%>
    <%@page import="model.query"%>
    <head>
    <h1> college </h1>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>add grade</title>
    </head>
    <body style="background-image:url(325358_148852655208442_100002511247620_245551_1242039116_o.jpg)">
        <form action="Servlet" method="post"><input type="hidden" name="action" value="realaddgrade" />
       <table cellspacing="5" border="0"> 
            <% 
             //String cname=request.getParameter("coursename");
            List<String> courses1=null;
            String[]grades=null;
        courses1= (List<String>)request.getSession(false).getAttribute("students");
        for(int i=0;i<courses1.size();i++){%>   
        <tr>   <td><%=courses1.get(i)%></td><td><input type="text" name="<%=courses1.get(i)%>"value=""></td></tr>
        <%} %><table><td><tr> <input type="submit" name="action" value="sumbit" /></tr></td></table>
        
           
        
        </table>
        </form>
    </body>
</html>